package com.hexinfo.dmpro.sparing.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 删除两年前日期分区数据实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DropDateDataDTO {

    //库名
    private String dbName;
    //表名
    private String tbName;
    //源分区字段名
    private String souColName;
    //源分区值
    private String souValue;
    //日期分区字段名
    private String dateColName;
    //日期分区值
    private String dateValue;
    //drop执行sql的类型,默认值  1
    private String sqlType = "1";

    //库.表
    public String getDbTbName(){
        return dbName + "." + tbName;
    }

}
